package com.hoko.blur.opengl.program;

import com.hoko.blur.api.IProgram;

/**
 * ProgramFactory
 *
 * @since 2021-09-06
 */
public class ProgramFactory {
    /**
     * create IProgram
     *
     * @param vertexShaderCode vertexShaderCode
     * @param fragmentShaderCode fragmentShaderCode
     * @return IProgram
     */
    public static IProgram create(String vertexShaderCode, String fragmentShaderCode) {
        return new Program(vertexShaderCode, fragmentShaderCode);
    }
}
